Skip to content

fix(ui-server-auth): clarify social-only email sign-in hint#1879

Open
lulu0119 wants to merge 1 commit into
moeru-ai:mainfrom
lulu0119:fix/ui-server-auth-social-only-sign-in-copy
Open

fix(ui-server-auth): clarify social-only email sign-in hint#1879
lulu0119 wants to merge 1 commit into
moeru-ai:mainfrom
lulu0119:fix/ui-server-auth-social-only-sign-in-copy

Conversation

@lulu0119
Copy link
Copy Markdown
Contributor

Summary

  • Replace misleading authFailed copy on the sign-in identify step when check-email finds an existing Google/GitHub-only account (no password credential).
  • Add server.auth.signIn.error.socialOnlyNoPassword with localized zh-Hans / zh-Hant strings; ja/ko/es/fr/ru/vi temporarily use the English text for community follow-up.
  • Widen the sign-in error banner from max-w-xs to max-w-sm so the hint wraps more cleanly.

Test plan

  • pnpm -F @proj-airi/ui-server-auth build (if testing via apps/server on :3000)
  • Open /auth/sign-in, enter an email registered with Google/GitHub only → see socialOnlyNoPassword hint (not “Authentication failed”)
  • Confirm OAuth buttons remain on the identify step
  • Switch locale to zh-Hans / zh-Hant and verify localized copy

Made with Cursor

Replace the misleading authFailed message when check-email finds an
existing social account without a password. Add socialOnlyNoPassword
copy (zh-Hans/zh-Hant localized; other locales use English pending
community translations) and widen the sign-in error banner slightly.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions
Copy link
Copy Markdown
Contributor

⏳ Approval required for deploying to Cloudflare Workers (Preview) for stage-web.

Name Link
🔭 Waiting for approval For maintainers, approve here

Hey, maintainers, kindly take some time to review and approve this deployment when you are available. Thank you! 🙏

@nekomeowww
Copy link
Copy Markdown
Member

@codex review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants